using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Reflection;
using System.IO;

namespace Hack.DllDump
{
    public class Constructor
    {
        public System.Reflection.ConstructorInfo info;

        public Constructor(ConstructorInfo info)
        {
            this.info = info;
        }

        public void ToString(StringWriter sw)
        {
            sw.Write(info.Name);
            /*
             * Load and Display parameters
             */
            ParameterList pw = new ParameterList(info.GetParameters());

            pw.ToString(sw);

        }

    }
}
